#include <iostream>
#include <string>
using namespace std ;

int main ( )
{
	string str1("123456") ;

	cout<< "str1 is:" << str1 << "; its size is:" << str1.size() << "; its length is:" << str1.length() << endl ;

	for(int i=0; i < str1.size() + 1 ; i++)
	{
		cout<< i << ": " << int(*(str1.c_str() + i)) << endl ;
	}

	return 0 ;
}
